package com.huan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huan.VO.AddArticleDto;
import com.huan.domain.ResponseResult;
import com.huan.domain.entity.Article;

public interface ArticleService extends IService<Article> {
    ResponseResult hotArticleList();

    ResponseResult articleList(Integer pageNum, Integer pageSize, Long categoryId);

    ResponseResult getArticleDetail(Long id);

    ResponseResult updateViewCount(Long id);

    ResponseResult add(AddArticleDto article);

    ResponseResult getAllList(Integer pageNum, Integer pageSize, String title, String summary);

    ResponseResult getList(Long id);

    ResponseResult deleteList(Long id);
}